package com.download.web.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author cmy
 * @since 2019-02-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusDicItem{

    private static final long serialVersionUID = 1L;

    @TableId( type= IdType.AUTO)
    private Integer id;

    private String name;

    private String value;

    private Integer dictionaryId;

    public BusDicItem( String value, Integer dictionaryId) {
        this.value = value;
        this.dictionaryId = dictionaryId;
    }
}
